package com.einmeer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 芊嵛
 * @date 2024/3/13
 */
@SpringBootApplication
// 注册中心
@EnableDiscoveryClient
//openfeign
@EnableFeignClients

// 扫mapper包
@MapperScan("com.einmeer.mapper")
public class AdminApp {
    public static void main(String[] args) {
        SpringApplication.run(AdminApp.class);
        System.out.println("Admin已启动!");
    }
}